﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace brainfuckReverseOptim
{
    class Program
    {
        static string GenerateStringOfChar(char ch, int length)
        { StringBuilder Sb = new StringBuilder();
            for (int i = 0; i < length; i++)
            { Sb.Append(ch); }
            return Sb.ToString(); }
        static void Main(string[] args)
        {
            Console.WriteLine("Введите строку");
            string str = Console.ReadLine();
            char[] ch1 = str.ToCharArray();

            for (int j = 0; j < ch1.Length; j++)
            {
                int charValue = Convert.ToInt32(ch1[j]);
                Console.WriteLine(charValue);
                //if (ch1[j] > ch1[j + 1])
                //{ Console.WriteLine("good"); }
                ////{
                ////    Console.WriteLine("good");
                ////    //ch1[j + i] =
                ////}
            }
            ////for (int i = 0; i < str.Length; i++)
            ////{
            ////    char ch = str[i];
            ////    char symbol = ' ';
            ////    int probel = 32;
            ////    int value = probel;
            ////    for (ch = symbol; ch < str[i]; ch++)
            ////    {
            ////        symbol++;
            ////        value = value + 1;
            ////    }
            ////    Console.WriteLine(symbol + " " + value);

            //string sstr = new string('+', value);
            //string sstr = GenerateStringOfChar('+', value);
            //Console.Write(sstr);
            //Console.Write(">!");
            //}

            //    Console.Write("@");
            Console.ReadLine();
        }
    }
}
